Begin creating your UFL by setting up a new directory on your system to work in. Use File Manager or Windows Explorer to copy all of the files listed in the chart under Helper Modules, into your new directory. This assures that you do not inadvertently edit or change the original files in your CRW directory.
Note: If you will not be using the functionality provided by UFJOB.H and UFJOB.C, you do not need to copy these files into your working directory.
Now, open your Integrated Development Environment (IDE) application, and use the tools there to create a new project file. Name the new project file with a UFL prefix if your function library will be used with Crystal Reports for Windows 3.x, or with a U2L prefix if it will be used with Crystal Reports for Win32. For example, UFLSAMP.MAK or U2LFUNCS.PRJ. Make sure the project is set to build a DLL (not a Windows EXE) file.
Note: If you are building a 32
Finally, add the UFMAIN.C file to your project, and save the project in your new working directory. Add the UFJOB.C file as well if you are using this file. You are now ready to begin creating a new UFL for the Crystal Reports Formula Editor.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |